import { defineStore } from "pinia";
import { ref } from "vue";

// 计算器  

export const useCountStore = defineStore('big-count', () => {
    const count = ref(100)
    const add = (n) => {
        count.value += n
    }

    return {
        count,
        add
    }
})